function add() {
  let a = document.createElement('div');
  document.body.appendChild(a)
  a.innerHTML = '1';
  a.onclick = function () {
    a.innerHTML = parseInt(a.innerText) + 1 + ''
  }
}

export { add }